Method ConsumeAsync(byte[], long, string, TimeSpan, CancellationToken)

Assembly: redb.Identity.Core.dll

Atomically marks a challenge as consumed by the given user for the given operation.
Returns on first consume.Returns if a row with the same hash already exists.

Task<WebAuthnConsumeResult> ConsumeAsync(byte[] challenge, long userId, string operation, TimeSpan ttl, CancellationToken ct = default)